package com.joysuch.wwyt.api.mh.repository;

import com.joysuch.wwyt.api.mh.entity.MhPlatform;
import com.joysuch.wwyt.api.mh.entity.MhPlatformField;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MhPlatformDao extends JpaRepository<MhPlatform, Long> {
    int countByName(String name);

    List<MhPlatform> findByOrgCode(String orgCode);

}
